#ifndef MAGIC_H_INCLUDED
#define MAGIC_H_INCLUDED
#include <string>
#include <cstdlib>
#include <time>

srand(time());

class Magic
{
    public:

    Magic();
    Magic(string name, int lvl = 1, int pow = 5, int lk = 500);
    void nameMagic(string name);
    int attack();
    int specialAttack();
    void changeLevel(int lvl);

    private:

    int power;
    int level;
    int luck;
    string magicName;
}

#endif // MAGIC_H_INCLUDED
